package com.wgtest.pojo;

import com.alibaba.fastjson.JSONObject;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import org.springframework.validation.annotation.Validated;

import java.util.Map;

//请求参数
@Component
public class RequestParameter
{
   private String app_auth_token;
   @Value("2021000120608017")
   private String app_id;//appid
   private JSONObject biz_content;
   @Value("UTF-8")
   private String charset;//字符集
   @Value("fzvDQWGXhLPEPnjTtE7ylQ==")
   private String content_key;//加密密钥对称密钥
   @Value("JSON")
   private String format;//格式
   @Value("https://openapi.alipaydev.com/gateway.do")
   private String gateway_url;//网关地址
   @Value("MIIEuwIBADANBgkqhkiG9w0BAQEFAASCBKUwggShAgEAAoIBAQCNVMuWjCvzam1wZXEV+fQvaYIrtKntCXjKJz8gU3WtUfusiUYxNui9O/oQuSi+77gPTsbApNHJ9yEN2pn1bXHtt4zGj2vEF43HKvPmaJhC2Snh94LkL+WA2Rtt3Kz8cd5EObHyJIottWl2b1RLze1mPSY1/7nM4WVXqIlWiuzQx+v4Kdzz+70atrCvEsPuGS76b8+pRrSOpXz/6ifjzcdePrDctQxryuizlKRCvZKTHrn2MhJDLTS2S/r3eXSVDIBQeF+8FZdhrleSVFKAcSDiQsdyoY0Onp4jRUhBfW9P3Ct+2miOj06ozTFr1toECAdgpAlO6ulw9DloINI52Xm3AgMBAAECgf9LFMETOWQf7Go3S6zIAAG5LlP45AFh66Y/vpnKkovxh5wsDME9Y+5AmZw/Rh5fUPp3J2Ju9SB+KstkkL05pOrhXqFq2sZlZh3rsOXhga9h0/xsDxF6J/fEe5IWyyUa92Mc24mtGbxOjBF62anum3eC2Plztmb+cL9l0iMj1qn4P3L9LLmsA72JzMxl9Dy0WNOKWNXC9ZsklkKkT0VPQU8pGiLcN1UsqaXjf6181Gy/G+UsinYJsMM1dPAo1Od/hbR7uJkjI5NIZ/lb09YC2+obn+Jl72eM+fyf3grJcH1fQMXcfR0Oe/d9GbwDLQbuMH8rwLKtGvDH7116gADqbcECgYEAwPvj/Jc4zB8Xy4iAfYjIw4SsO4gbodYI9JhVvuXk+pPutJQkw3XeDIFc6KVkoklvccnutDtHoQibJjDgtar/UqXZEBnJtFsWdWUCMlWqDJZMBKOmV37zIEM3SfrKfxKn+VG4FJlNYU+hG17xxUYXBAATTjzXu1LsNE4Jqwbg710CgYEAu3sZPOLl7g9PM9YYm76RTY3ohN3KYZZdp/lUkx7NSD4+fFq5VWbgBJHxBQ1VVruA5cIH0aW6qJLsyjQ03Gk/npjhCkDoqcLdDAgMHLTDdFvj87T30OHGtxjMvQtwiRCC+193FNBeHlcpyKlMiT9qj+AYgcrqfWPpoI8M1XmvwCMCgYAu0Sz3C0ypIGXqZ5wcWEG0RQxviM6DTWRwykALBsStEZRYVJQyovaSfBOpEO6//CbAKSfyq2ruIyNYeYUaLXixeTCWmlr3mR1yr2WABo4xbYjVm0nwcgjTa9sO5HuZplH/xxZsUOCX2fSQqlDm9eEBhG8qjNIdTLmm2sO3rPyGtQKBgEIqMoD7brwyaPhZUbv9aFhfgbUKdTc1kv4KD2AQmdAqL3FBr3DFasASJWZsCzcd22K6tHm3rIV7vNerzxAOkOZO+/TbbYEkBVEOsf+bh/NTzsIelusAE1phBTiehevJiQBf863Dz8OTbWqk3R7+44O9ScjcrR7tmPESKyxX0r/TAoGBAKCbQe52J59nK6T2a2RpMSRSjGLfxLNtQoYz9k1A2Unyfxfd+eQskoyTQNH8yVHxEjHHRW2eoiNwWNBzDgX/Pe8qWYFF/wk7F4xDNNqF2I2YjlqGtDODqL9LAWQsMlCa1bjgAWIxTEB+sbouZUs1MKDZOK9M4kZn5nEhyrLIH5HO")
   private String merchant_private_key;//应用私钥
   @Value("alipay.trade.page.pay")
   private String method;//接口名称
   private String notify_url;
   private String out_trade_no;//订单编号
   @Value("FAST_INSTANT_TRADE_PAY")
   private String product_code;//销售产品码
   @Value("MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArXgcGllSOXynmTb5roDI0RdBy/psKrMjwC4DjUZe3hRm3Xlpyk5Ft/i54iZsQIYaAr1dhlzTcmY+nmap5ibFN/u+C3gh+3XftYqkT4cwEvabse8UMPTcOjeLxc7gjm9uRmgifQHdpnYxl402rDRdrtpESymq+YlZGGJQ7HeR+uSVOIYS1emaSd1x76S86wW5AG2tZWlF9JHNYUkE049xnMSdV6ljsbxpLIAPC1HrgPoOObU2SO0lxSMMMzqEi/lJ1iDyC14XrBXiohUI9pYWZgJ+5Jqd0Qj9CDhjw5CxUZgBR1wYTdzDEWt0WvE0D81TsmjfXHQYnu6+kqkJvAvDawIDAQAB")
   private String public_key;//支付宝公钥
   private String return_url;
   @Value("2088621959293154")
   private String seller_id;//商户id
   private String sign;
   @Value("RSA2")
   private String sign_type;//加密方式
   private String subject;//订单标题
   private String timestamp;
   private String total_amount;//订单总金额
   @Value("1.0")
   private String version;//版本号


   public JSONObject getBiz_content() {
      return biz_content;
   }

   public void setBiz_content(JSONObject biz_content) {
      this.biz_content = biz_content;
   }

   public String getSubject() {
      return subject;
   }

   public void setSubject(String subject) {
      this.subject = subject;
   }

   public String getProduct_code() {
      return product_code;
   }

   public void setProduct_code(String product_code) {
      this.product_code = product_code;
   }

   public String getTotal_amount() {
      return total_amount;
   }

   public void setTotal_amount(String total_amount) {
      this.total_amount = total_amount;
   }

   public String getOut_trade_no() {
      return out_trade_no;
   }

   public void setOut_trade_no(String out_trade_no) {
      this.out_trade_no = out_trade_no;
   }

   public String getSeller_id() {
      return seller_id;
   }

   public void setSeller_id(String seller_id) {
      this.seller_id = seller_id;
   }

   public String getGateway_url() {
      return gateway_url;
   }

   public void setGateway_url(String gateway_url) {
      this.gateway_url = gateway_url;
   }

   public String getMerchant_private_key() {
      return merchant_private_key;
   }

   public void setMerchant_private_key(String merchant_private_key) {
      this.merchant_private_key = merchant_private_key;
   }

   public String getPublic_key() {
      return public_key;
   }

   public void setPublic_key(String public_key) {
      this.public_key = public_key;
   }

   public String getContent_key() {
      return content_key;
   }

   public void setContent_key(String content_key) {
      this.content_key = content_key;
   }

   public String getApp_id() {
      return app_id;
   }

   public void setApp_id(String app_id) {
      this.app_id = app_id;
   }

   public String getMethod() {
      return method;
   }

   public void setMethod(String method) {
      this.method = method;
   }

   public String getFormat() {
      return format;
   }

   public void setFormat(String format) {
      this.format = format;
   }

   public String getReturn_url() {
      return return_url;
   }

   public void setReturn_url(String return_url) {
      this.return_url = return_url;
   }

   public String getCharset() {
      return charset;
   }

   public void setCharset(String charset) {
      this.charset = charset;
   }

   public String getSign_type() {
      return sign_type;
   }

   public void setSign_type(String sign_type) {
      this.sign_type = sign_type;
   }

   public String getSign() {
      return sign;
   }

   public void setSign(String sign) {
      this.sign = sign;
   }

   public String getTimestamp() {
      return timestamp;
   }

   public void setTimestamp(String timestamp) {
      this.timestamp = timestamp;
   }

   public String getVersion() {
      return version;
   }

   public void setVersion(String version) {
      this.version = version;
   }

   public String getNotify_url() {
      return notify_url;
   }

   public void setNotify_url(String notify_url) {
      this.notify_url = notify_url;
   }

   public String getApp_auth_token() {
      return app_auth_token;
   }

   public void setApp_auth_token(String app_auth_token) {
      this.app_auth_token = app_auth_token;
   }


}
